package com.sc.userspringboot.service.impl;

import com.sc.userspringboot.pojo.PostImages;
import com.sc.userspringboot.dao.IPostImagesDao;
import com.sc.userspringboot.service.IPostImagesService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 帖子图片关联表 服务实现类
 * </p>
 *
 * @author user
 * @since 2025-09-19 06:25:46
 */
@Service
public class PostImagesServiceImpl extends ServiceImpl<IPostImagesDao, PostImages> implements IPostImagesService {

    @Override
    public List<PostImages> getByPostId(Integer postId) {
        return baseMapper.getByPostId(postId);
    }
}
